<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>网点管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    #parse('/headFiles.html')
</head>
<body>
<div class="layui-form" style="padding: 20px 15px 0 0;" id="layer-photos" wid100>
    <input type="hidden" name="id" value="$!{id}"/>
	<input type="hidden" id="typeCodesValue" value="$!{typeCodes}"/>
	<input type="hidden" id="areaCodeValue" value="$!{areaCode}"/>
    <div class="layui-form-item">
        <label class="layui-form-label">实体店名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" lay-verify="required" autocomplete="off" class="layui-input"
                   value="$!{name}">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属代理</label>
        <div class="layui-input-block">
            <select id="userId" name="userId" class="layui-hide" lay-ignore>
                <option value="$!{userId}">$!{userInfo}</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">实体店场景图</label>
        <div class="layui-input-block">
            <input type="text" name="thumbnailImg" class="form-control" value="$!{thumbnailImg}">
        </div>
    </div>
    <div class="layui-form-item ">
        <label class="layui-form-label">实体店类型</label>
        <div class="layui-input-block" id="typeCodes"></div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">省市地区</label>
        <div class="layui-input-block" id="areaCode"></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-sm8">
            <div class="layui-form-item">
                <label class="layui-form-label">经纬度</label>
                <div class="layui-input-inline"><input type="text" name="longitude" placeholder="经度"
                                                       autocomplete="off" class="layui-input" value="$!{longitude}"></div>
                <div class="layui-input-inline"><input type="text" name="latitude" placeholder="纬度"
                                                       autocomplete="off" class="layui-input" value="$!{latitude}"></div>
                <div class="layui-input-block">
                    <button type="button" class="layui-btn" id="btnOpenAMap">打开地图</button>
                </div>
            </div>
        </div>
        <div class="layui-col-sm4">
            <div class="layui-form-item">
                <label class="layui-form-label">联系电话</label>
                <div class="layui-input-block">
                    <input type="text" name="contactPhone" autocomplete="off" class="layui-input" value="$!{contactPhone}">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">详细地址</label>
        <div class="layui-input-block">
            <textarea name="address" autocomplete="off" class="layui-textarea" style="min-height:50px;">$!{address}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">路线信息</label>
        <div class="layui-input-block">
            <textarea name="routeInfo" autocomplete="off" class="layui-textarea" style="min-height:50px;">$!{routeInfo}</textarea>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-col-sm4">
            <div class="layui-form-item">
                <label class="layui-form-label">营业时间(24H)</label>
                <div class="layui-input-block">
                    <input type="text" name="businessTimeStr" id='businessTimeStr'
                           placeholder="$!{i18n.get('pleaseEnter')}" autocomplete="off" class="layui-input" value="$!{businessTimeStr}">
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确定">
    </div>
</div>
#parse('/footFiles.html')
<script type="text/javascript">
layui.config({
    base: '$!{webRoot}/layuiadmin/' //静态资源所在路径
	,webRoot:'$!{webRoot}'
	,resDomain:'$!{resDomain}'
	,resToken:'$!{resToken}'
}).extend({
    index: 'lib/index' //主入口模块
	,physical_store_edit:'place/physical_store_edit'
}).use(['index', 'physical_store_edit']);
</script>
</body>
</html>